package com.jiong.ad.service;

import com.jiong.ad.entity.Advertisement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiong.ad.vo.AdVO;
import com.jiong.common.PageResult;

/**
 * <p>
 * 广告表 服务类
 * </p>
 *
 * @author jiong
 * @since 2025-01-16
 */
public interface IAdvertisementService extends IService<Advertisement> {

    PageResult<Advertisement> findByPage(Integer page, Integer pageSize);

    PageResult<Advertisement> search(Integer page, Integer pageSize, AdVO adVO);

    boolean add(Advertisement advertisement);
}
